import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return new MaterialApp(
      title: "flutte demo",
      home: Scaffold(
          appBar: new AppBar(
            title: new Text("flutter world"),
          ),
          body: Center(
            child: Container(
              width: 200.0,
              child: new ListView(
                scrollDirection: Axis.horizontal,
                children: <Widget>[
                  new Container(
                    width: 80.0,
                    color: Colors.redAccent,
                  ), new Container(
                    width: 80.0,
                    color: Colors.blue,
                  ), new Container(
                    width: 80.0,
                    color: Colors.yellow,
                  ), new Container(
                    width: 80.0,
                    color: Colors.blue,
                  ),
                ],

              ),
            ),
          ),
      ),
    );
  }
}
